import unittest
# 导包
from day09.case.test_add import TestAdd

suite = unittest.TestSuite()
# 实例化测试套件  添加单个测试用例
# suite.addTest(TestAdd('test01_add'))
# 添加整个类的测试用例
suite.addTest(unittest.makeSuite(TestAdd))
suite.addTest(unittest.makeSuite(TestSub))
suite.addTest(unittest.makeSuite(TestDiv))
suite.addTest(unittest.makeSuite(TestMul))

suite = unittest.TestLoader.discover()
runner = unittest.TextTestRunner()
runner.run(suite)
